﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    public class PayResultRequstModel
    {
        /// <summary>
        /// 主索引模式：1为主索引模式。0为非主索引模式
        /// </summary>
        public string indextype { get; set; }
        /// <summary>
        /// 诊疗ID，当indexType＝1时必填
        /// </summary>
        public string cpatientcode { get; set; }
        /// <summary>
        /// 订单ID，当indexType＝0时必填
        /// </summary>
        public string orderid { get; set; }
        /// <summary>
        /// 缴费类型1：挂号  2：处方  3：检验  4：处置  5：检查 当indexType＝0时必填
        /// </summary>
        public string cateid { get; set; }

        /// <summary>
        /// 操作员编码
        /// </summary>
        public string userid { get; set; }

        /// <summary>
        /// 支付方式：
        ///01	现金        
        ///02	支票        
        ///03	银联        
        ///09  网络支付
        ///10  微信
        ///30  支付宝

        /// </summary>
        public string ls_cpscode { get; set; }

        /// <summary>
        /// 互联网厂商类别：
        ///5：健康山西
        /// </summary>
        public string cinterpayfromtype { get; set; }
    }

    public class PayResultResponseModel
    {
        //public string code { get; set; }
        //public string msg { get; set; }

        /// <summary>
        /// 支付成功返回信息
        /// </summary>
      //  public List<PayResultResponseItemModel> items { get; set; }
    }

    public class PayResultResponseItemModel
    {

        public string code { get; set; }
        public string msg { get; set; }

        /// <summary>
        /// his 预约号
        /// </summary>
        public string oid { get; set; }
        /// <summary>
        /// 缴费流水号
        /// </summary>
        public string cflowcode { get; set; }
        /// <summary>
        /// 诊疗ID
        /// </summary>
        public string cpatientcode { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string cidentitycard { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string cpatientname { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string csex { get; set; }
        /// <summary>
        /// 就诊日期
        /// </summary>
        public string ddiagnosetime { get; set; }
        /// <summary>
        /// 就诊科室
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 医生名称
        /// </summary>
        public string doctorname { get; set; }
        /// <summary>
        /// 职称
        /// </summary>
        public string cdiagnosetypename { get; set; }
        /// <summary>
        /// 挂号序号
        /// </summary>
        public string ndiagnosenum { get; set; }

        /// <summary>
        /// 诊区
        /// </summary>
        public string chousesectionname { get; set; }

        /// <summary>
        /// 诊室
        /// </summary>
        public string chousename { get; set; }
        /// <summary>
        /// 就诊位置
        /// </summary>
        public string clocation { get; set; }
        /// <summary>
        /// 挂号费
        /// </summary>
        public string nmoney { get; set; }
        /// <summary>
        /// 就诊号
        /// </summary>
        public string diagnoseid { get; set; }
        /// <summary>
        /// 平台订单号
        /// </summary>
        public string orderno { get; set; }
        /// <summary>
        /// 医院侧订单状态
        /// </summary>
        public string hospsate { get; set; }

        /// <summary>
        /// 排班ID
        /// </summary>
        public string workid { get; set; }
        /// <summary>
        /// 号源ID
        /// </summary>
        public string resourceid { get; set; }

        /// <summary>
        /// 号源序号
        /// </summary>
        public string inum { get; set; }
    }
}
